﻿@*
    For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
*@
@model LoginViewModel
@{
    Layout = "~/Views/Shared/_LayoutLogin.cshtml";
    ViewBag.Title = "登录";
}

 <div class="container">

        <!-- Outer Row -->
        <div class="row justify-content-center">

            <div class="col-xl-10 col-lg-12 col-md-9">

                <div class="card o-hidden border-0 shadow-lg my-5">
                    <div class="card-body p-0">
                        <!-- Nested Row within Card Body -->
                        <div class="row">
                            <div class="col-lg-6 d-none d-lg-block bg-login-image"></div>
                            <div class="col-lg-6">
                                <div class="p-5">
                                    <div class="text-center">
                                        <h1 class="h4 text-gray-900 mb-4">欢迎回来!</h1>
                                    </div>
                                <form class="user" method="post" asp-controller="Account" asp-action="Login">
                                        <div class="form-group">
                                            <input type="email" class="form-control form-control-user"
                                                id="exampleInputEmail" aria-describedby="emailHelp"
                                                placeholder="请输入邮箱地址" asp-for="Email">
                                        <span asp-validation-for="Email" class="text-danger offset-sm-3 my-sm-1"></span>
                                        </div>
                                        <div class="form-group">
                                            <input type="password" class="form-control form-control-user"
                                                id="exampleInputPassword" placeholder="请输入密码" asp-for="Password">
                                        <span asp-validation-for="Password" class="text-danger offset-sm-3 my-sm-1"></span>
                                        </div>
                                        <div class="form-group">
                                            <div class="custom-control custom-checkbox small">
                                                <input type="checkbox" class="custom-control-input" id="customCheck" asp-for="RememberMe">
                                                <label class="custom-control-label" for="customCheck">记住我</label>
                                            </div>
                                        </div>
                                        <button type="submit" class="btn btn-primary btn-user btn-block">
                                            登录
                                        </button>
                                        <hr>
                                    <a asp-controller="Home" asp-action="Index" class="btn btn-google btn-user btn-block">
                                            <i class="fab fa-qq fa-fw"></i> 通过QQ登录
                                        </a>
                                    <a asp-controller="Home" asp-action="Index" class="btn btn-facebook btn-user btn-block">
                                            <i class="fab fa-weixin fa-fw"></i> 通过微信登录
                                        </a>
                                    </form>
                                    <hr>
                                    <div class="text-center">
                                    <a class="small" asp-controller="Account" asp-action="ForgotPassword">忘记密码?</a>
                                    </div>
                                    <div class="text-center">
                                    <a class="small" asp-controller="Account" asp-action="Register">创建账号!</a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

            </div>

        </div>

    </div>

    <!-- Bootstrap core JavaScript-->
    <script src="vendor/jquery/jquery.min.js"></script>
    <script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>

    <!-- Core plugin JavaScript-->
    <script src="vendor/jquery-easing/jquery.easing.min.js"></script>

    <!-- Custom scripts for all pages-->
    <script src="js/sb-admin-2.min.js"></script>